package org.jeecg.modules.wlhy.etcfeeclouds.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: hy_etcfeeclouds_order
 * @Author: duanlikao
 * @Date:   2021-09-07
 * @Version: V1.0
 */
@Data
@TableName("hy_etcfeeclouds_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_etcfeeclouds_order对象", description="hy_etcfeeclouds_order")
public class HyEtcfeecloudsOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**公司名称*/
	@Excel(name = "公司名称", width = 15)
    @ApiModelProperty(value = "公司名称")
    private java.lang.String companyName;
	/**公司税号*/
	@Excel(name = "公司税号", width = 15)
    @ApiModelProperty(value = "公司税号")
    private java.lang.String taxno;
	/**运单编号*/
	@Excel(name = "运单编号", width = 15)
    @ApiModelProperty(value = "运单编号")
    private java.lang.String orderNum;
	/**自有车为0，网络货运为1*/
	@Excel(name = "网络货运模式", width = 15)
    @ApiModelProperty(value = "网络货运模式")
    @Dict(dicCode = "own_car")
    private java.lang.Integer ownCar;
	/**运单开票状态 1-未结束,2-开票中,3-已开票,4-无匹配交易,99-超时作废*/
	@Excel(name = "运单开票状态", width = 15)
    @Dict(dicCode = "etcfeeclouds_order_status")
    @ApiModelProperty(value = "运单开票状态")
    private java.lang.Integer state;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
}
